package com.note.user;

import org.springframework.stereotype.Component;

import javax.annotation.PostConstruct;

@Component("user")
public class User {
    @PostConstruct
    public void init(){
        System.out.println("初始化方法执行");
    }
}
